<h3>选择题试卷</h3>
<table width="100%" class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th>名称</th>
            <th>等级</th>
            <th>题数</th>
            <th>时间(分)</th>
            <th>做题</th>
        </tr>
    </thead>
    <tbody>
        {volist name="choice" id="vo"}
        <tr>
            <td>{$vo.pap_name}</td>
            <td>
                {switch name="vo.pap_grade"}
                {case value="1"}基础{/case}
                {case value="2"}容易{/case}
                {case value="3"}一般{/case}
                {case value="4"}很难{/case}
                {case value="5"}面试题{/case}
                {/switch}
            </td>
            <td>
                {$vo.total}
            </td>
            <td>{$vo.pap_time}</td>
            <td>
                <a href="/index.php/home/choice/work?id={$vo.pap_id}" target="_blank"><span class="fa fa-pencil"></span></a>
            </td>
        </tr>
        {/volist}
    </tbody>
</table>

<h3>问答题（机试题）</h3>
<table width="100%" class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th>名称</th>
            <th>等级</th>
            <th>题数</th>
            <th>时间(分)</th>
            <th>做题</th>
        </tr>
    </thead>
    <tbody>
        {volist name="essay" id="vo"}
        <tr>
            <td>{$vo.pap_name}</td>
            <td>
                {switch name="vo.pap_grade"}
                {case value="1"}基础{/case}
                {case value="2"}容易{/case}
                {case value="3"}一般{/case}
                {case value="4"}很难{/case}
                {case value="5"}面试题{/case}
                {/switch}
            </td>
            <td>
                {$vo.total}
            </td>
            <td>{$vo.pap_time}</td>
            <td>
                <a href="/index.php/home/essay/work?id={$vo.pap_id}" target="_blank"><span class="fa fa-pencil"></span></a>
            </td>
        </tr>
        {/volist}
    </tbody>
</table>
